﻿using System.Collections.Generic;

namespace VirtualAccess
{
    public class SelectUpdateCommand : UpdateCommand
    {
        private DataSource _dataSource;
        private List<DataFieldLink> _fieldLinks = new List<DataFieldLink>();

        public SelectUpdateCommand(IDataProvider dataProvider)
            : base(dataProvider)
        {
        }

        public DataSource DataSource
        {
            get { return _dataSource; }
            set { _dataSource = value; }
        }

        public List<DataFieldLink> FieldLinks
        {
            get { return _fieldLinks; }
        }

        public override object Execute()
        {
            return null;
        }
    }
}
